﻿using System.Collections;

namespace Datagility.Shpt.SPDocMirror.Service
{
    /// <summary>
    /// A collection of <see cref="Datagility.Shpt.DocMirror.AuditEntry"/> objects
    /// </summary>
    class AuditEntryCollection: CollectionBase
    {
        public void Add(AuditEntry AuditEntryObject)
        {
            InnerList.Add(AuditEntryObject);
        }

        public void Remove(int index)
        {
            InnerList.RemoveAt(index);
        }

        public AuditEntry Item(int index)
        {
            return (AuditEntry)InnerList[index];
        }
    }
}
